print student data using structure